home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / cal14s21.arc / CALLS.DOC < prev    next >
Text File  |  1991-02-19  |  19KB  |  475 lines

  1.  
  2.                              CALLS.EXE
  3.  
  4.               Call analyzer for PCBoard versions 11.7 
  5.   (updated for PCBoard 11.8 and PCB/ProDOOR, S.H.Smith, 07/05/87)
  6.           (updated for PCBoard 14.x, S.H.Smith, 01-17-91)
  7.  
  8.  
  9.      Note:  Warren Lauzon is no longer supporting this program 
  10.                (since he's completely rewriting it)
  11.         So, please don't bother him with support questions.
  12.  
  13.               If you need help with it, contact me at
  14.                          Samuel H. Smith,
  15.                        Sysop, The Tool Shop
  16.  
  17.                    Phone number         Modem type
  18.                   --------------    ---------------------
  19.                   (818) 891-3772    US Robotics HST 9600
  20.                   (818) 891-1344    Hayes-V series 9600
  21.                   (818) 891-6780    US Robotics 2400 (free line)
  22.  
  23.  
  24.                  CHANGE HISTORY (in reverse order)
  25.                  =================================
  26.  
  27. Changed to accept new format of "new user registration" and "caller
  28. security level" enerated by pcboard 14.5.
  29.  
  30. Version 14s21 17-Jan-91 S.H.Smith
  31. -----------------------------------------------------------------------
  32.  
  33.  
  34. Added new report code 'R' to report "Minutes Used by Security Level".
  35. Renamed report code 'O' to "Number of Calls by Security Level".
  36.  
  37. Version 14s20 13-Apr-90 S.H.Smith
  38. -----------------------------------------------------------------------
  39.  
  40.  
  41. The "Free Download" and "Connect Type" reports were being interchanged
  42. in the .SAV file; this has been corrected, but old .SAV files must be
  43. rebuilt before these reports will be correct.
  44.  
  45. Added new EVENTMODE option to control how event time is reported.  The
  46. options are:
  47.  
  48.         EVENTMODE OFF   ;this option disables calculation of event
  49.                         ;duration
  50.  
  51.         EVENTMODE BUSY  ;this mode calculates event duration and
  52.                         ;accounts for it as 'busy' time (i.e. the system
  53.                         ;was in use during this time)
  54.  
  55.         EVENTMODE IDLE  ;this mode calculates event duration and
  56.                         ;accounts for it as 'idle' time (i.e. the system
  57.                         ;was NOT in use during this time)
  58.  
  59. Changed "event duration" reported to average minutes per event instead
  60. of total minutes for all events.
  61.  
  62. Added 29 new protocol codes:
  63.         0 1 2 3 4 5 6 7 8 9 ! @ # $ % ^ & * + - < > / [ ] { } ` ~
  64.  
  65. Added a counter of MarkMail messages left on the system.
  66. Corrected an error in baud rate calculation when baud rates included "E".
  67.  
  68.  
  69. Version 14s19 16-Feb-90 S.H.Smith
  70. -----------------------------------------------------------------------
  71.  
  72.  
  73. Added reports for ProDoor's "Free Download" feature.  This report is
  74. enabled with report code "Q".  Use the MAXFREE option to control the
  75. maximum number of filenames to be reported.
  76.  
  77. Moved samples configuration files to a sub-archive.
  78.  
  79. Version 14s18 13-Jan-90 S.H.Smith
  80. -----------------------------------------------------------------------
  81.  
  82.  
  83. Dates after 12-31-89 were not correctly calculated.
  84.  
  85. Added reports for ProLogon's new "Connect type" and "Security level"
  86. caller log entries.
  87.  
  88. Version 14s17 04-Jan-90 S.H.Smith
  89. -----------------------------------------------------------------------
  90.  
  91.  
  92. See CALLS.DOC for an explanation of the files included in CAL14S16.ZIP.
  93.  
  94. Deleted all command line parameters and created a new configuration file
  95. format to control reporting.  See CALLS.CNF for example file format.
  96.  
  97. Corrected processing of 'NUL' input file option.
  98.  
  99. Corrected reporting of download efficiency on "G" protocols.
  100.  
  101. Changed efficiency tables to allow up to 150% in report.
  102.  
  103. Added libraries to allow shared reading of caller log files.
  104.  
  105. Added new config file options to control number of entries in conference,
  106. bulletin, doors, and batchSize reports.
  107.  
  108. Added new config file option to redefine protocol names in report.
  109.  
  110. Added new config file option to specify alternate CALLS.SAV file name.
  111.  
  112. Added calculation of time spend processing scheduled events.
  113.  
  114. Version 14s16 02-Aug-89 S.H.Smith
  115. -----------------------------------------------------------------------
  116.  
  117. Corrected logic for determination of first and last log entry dates
  118. on multi-node reports.
  119.  
  120. Version 14s15 24-Jul-89 S.H.Smith
  121. -----------------------------------------------------------------------
  122.  
  123. Changed message formats to support ProDoor 3.1 betas as of 7-12-89.
  124. Added support for new ProLogon baud rate information.
  125.  
  126. Added support for multi-node reporting.  Append /N to caller file name,
  127. where N is the highest node number.  The program will then sequentially
  128. scan the caller files and combine them for a single report.
  129.  
  130. Version 14s14 13-Jul-89 S.H.Smith
  131. -----------------------------------------------------------------------
  132.  
  133. Changed message formats to support ProDoor 3.0 betas as of 4-9-89.
  134. Added support for 38400 bps connect speeds.
  135.  
  136. Version 14s13 09-Apr-89 S.H.Smith
  137. -----------------------------------------------------------------------
  138.  
  139. Corrected the handling of empty caller logs.  This makes it possible to
  140. generate multiple reports from the same caller log by re-running the
  141. calls program with 'NUL' in place of the caller log filename.
  142. Eliminated the use of Borland's CRT unit.  Ansi codes are now used to
  143. control the local display.
  144.  
  145. Usage:
  146. -----
  147.  
  148. calls CALLERS-FILE OUTPUT-FILE REPORT-LIST MIN-DOWNLOAD PEAK-HOURS
  149.  
  150. CALLERS-FILE is your pcboard CALLER file.  Use "NUL" to repeat previous data.
  151. OUTPUT-FILE  defaults to BLT99
  152. REPORT-LIST  defaults to ANBCDEFGHIJKLM
  153. MIN-DOWNLOAD defaults to 2
  154.  
  155. PEAK-HOURS   defaults to YNNNNNNNNNNNNNNNNYYYYYYY
  156.                         {0         1         2   }
  157.                         {012345678901234567890123}
  158.  
  159. The legal REPORT-LIST letters are:
  160.    A: system statistics            B: graphic modes
  161.    C: baud rates                   D: hourly usage
  162.    E: conferences joined           F: bulletins read
  163.    G: doors opened                 H: download protocols
  164.    I: download efficiency          J: upload protocols
  165.    K: upload efficiency            L: batch sizes
  166.    M: files downloaded             N: security statistics
  167.                                    Z: insert a blank line
  168.  
  169. Examples:
  170.  
  171.   calls \pcb\main\caller \gen\blt3
  172.             ;uses default report list, min-download and peak-hours.
  173.  
  174.   calls \pcb\main\caller \gen\blt3 ABCEFG 4 NNNNNNNNYYYYYYYYYNNNNNNN
  175.             ;to specify peak hours you MUST also include 
  176.             ;the report-list and min-download paremeters.
  177.  
  178.   calls nul \gen\blt-usage D
  179.   calls nul \gen\blt-files M
  180.             ;repeat previous report date in different formats or to
  181.             ;alternate output files
  182.  
  183.  
  184. Sample EVENT.SYS lines for two node systems:
  185. -------------------------------------------
  186.  
  187. rem Update NODE 1 caller log database
  188. cd \pcb1
  189. type \pcb\main\daycal1 >>\pcb\main\caller1
  190. if exist calls.sav     calls \pcb\main\daycal1 \pcb\gen\BLT3 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  191. if not exist calls.sav calls \pcb\main\caller1 \pcb\gen\BLT3 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  192. copy \pcb\main\daycal1 \pcb\main\yester1
  193. copy \pcb\main\newcal1 \pcb\main\daycal1
  194.  
  195. rem Update NODE 2 caller log database
  196. cd \pcb2
  197. type \pcb\main\daycal2 >>\pcb\main\caller2
  198. if exist calls.sav     calls \pcb\main\daycal2 \pcb\gen\BLT4 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  199. if not exist calls.sav calls \pcb\main\caller2 \pcb\gen\BLT4 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  200. copy \pcb\main\daycal2 \pcb\main\yester2
  201. copy \pcb\main\newcal2 \pcb\main\daycal2
  202.  
  203. rem Create top uploaders/downloaders bulletin
  204. cd \pcb
  205. topusr main\users gen\blt5 20 4 120
  206.  
  207. Version 14s12 12-Mar-89 S.H.Smith
  208. -----------------------------------------------------------------------
  209.  
  210. Changes to allow 'ZIP' to be used instead of 'ARC'.
  211. Fixed some reports where 100.0% exceeded the margins.
  212. Corrected display of 'last caller log entry' on screen.
  213.  
  214. Version 14s11 27-Feb-89 S.H.Smith
  215. -----------------------------------------------------------------------
  216.  
  217. Rewrote file scanning procedures to sequentially access the caller log.
  218. This makes it possible to report from log files that have been partially
  219. corrupted by a text editor or another program failure.  Added a report
  220. of messages entered via the Qmail door.
  221.  
  222. Version 14s10 31-Jan-89 S.H.Smith
  223. -----------------------------------------------------------------------
  224.  
  225. Several statistics were double counting.  Improved format of hourly
  226. utilization graphic.  Added new statistic for CD-ROM library access.
  227. Slight speedup.
  228.  
  229. Version 14s9 29-Jan-89 S.H.Smith
  230. -----------------------------------------------------------------------
  231.  
  232. Corrected an error that prevented the report from counting callers with
  233. 'NEW' in their city name!  Uploads are no longer included in the list of
  234. files downloaded.
  235.  
  236. Version 14s8 10-Jan-89 S.H.Smith
  237. -----------------------------------------------------------------------
  238.  
  239. Removed case sensitivity on most caller log entries.
  240.  
  241. Version 14s7 05-Jan-89 S.H.Smith
  242. -----------------------------------------------------------------------
  243.  
  244. Added color output files.
  245. Added support for 4800 baud connections.
  246. Corrected formatting in bar graphs for items with 100%.
  247.  
  248. Version 14s6 31-Dec-88 S.H.Smith
  249. -----------------------------------------------------------------------
  250.  
  251. Removed ARC-specific terminology.  Updated for similar changes in
  252. ProDoor betas dated after 10-9-88.
  253.  
  254. Version 14s4 10-Oct-88 S.H.Smith
  255. -----------------------------------------------------------------------
  256.  
  257. Added a report of "Free Downloads" for compatibility with 9/30
  258. prodoor betas.
  259. Added a "Peak Hours" command line parameter.
  260. Deleted "Time Distribution" report because it was so slow and inaccurate.
  261.  
  262. Version 14s3 10-03-88 S.H.Smith
  263. -----------------------------------------------------------------------
  264.  
  265. Updated for new conference joined and bulletin read log formats.
  266. Added a check for empty caller log files.
  267.  
  268. Version 14s2 24-Sep-88 S.H.Smith
  269. -----------------------------------------------------------------------
  270.  
  271. Updated protocol letters for PCBoard 14 compatibility.
  272.  
  273. Version 14s1 20-Sep-88 S.H.Smith
  274. -----------------------------------------------------------------------
  275.  
  276. Updated new user registration for new PCB 14 message format.
  277.  
  278. Version 12s21 22-Jul-88 S.H.Smith
  279. -----------------------------------------------------------------------
  280.  
  281. Added support for node chat.
  282.  
  283. Version 12s20 22-Jun-88 S.H.Smith
  284. -----------------------------------------------------------------------
  285.  
  286. Added a new data file CALLS.DIR, and a new graph of Time Usage by Activity.
  287. Create the file CALLS.DIR in the current directory.  List all your download
  288. and upload directories in this file (one directory per line).   CALLS will
  289. use this to search for each file that has been downloaded or uploaded.  The
  290. files must be located to determine file size, which is used to calculate the
  291. minutes spent downloading and uploading.  File sizes are determined only the
  292. first time a file is seen.
  293.  
  294. Version 12s19 12-Jun-88 S.H.Smith
  295. -----------------------------------------------------------------------
  296.  
  297. Changed ARCM message counter to a long integer to prevent overflows.
  298.  
  299. Version 12s17 10-May-88 S.H.Smith
  300. -----------------------------------------------------------------------
  301.  
  302. Added support for ProDoor's new ARC Mail feature.
  303.  
  304. Version 12s16 16-Apr-88 S.H.Smith
  305. -----------------------------------------------------------------------
  306.  
  307. Added checks for 24:xx instead of 00:xx in some caller log entries.
  308. Should prevent some runtime errors.
  309.  
  310. Version 12s15 12-Mar-88 S.H.Smith
  311. -----------------------------------------------------------------------
  312.  
  313. Recompiled with stack and range check enabled - slower, but safer.
  314.  
  315. Version 12s14 11-Feb-88 S.H.Smith
  316. -----------------------------------------------------------------------
  317.  
  318. Improved bulletin activity report formatting.
  319. Made changes to allow caller logs with over 32000 entries.  Changed graphics
  320. to allow > 100% (for MNP modems in efficiency reporting).
  321.  
  322. Version 12s13 11-Feb-88 S.H.Smith
  323. -----------------------------------------------------------------------
  324.  
  325. Made the 'remote dos time' statistic work properly (broken ever since
  326. PCB 12.)   Added entries in protocol table for all letters of
  327. the aplhabet.
  328.  
  329. Version 12s12 19-Jan-88 S.H.Smith
  330. -----------------------------------------------------------------------
  331.  
  332.  
  333. Added the ability to store an internal summary of your caller log. 
  334. This makes it possible to add small daily caller logs and produce 
  335. the full report without keeping the whole caller log on file.  It 
  336. also reduces time spent scanning the log file. 
  337.  
  338. Each time CALLS is run, it looks for CALLS.SAV in the default 
  339. directory.  If it is present, it loads this "saved summary" into 
  340. memory and adds the specified caller file to it.  After the report 
  341. is generated, CALLS.SAV is updated to include the new data.   Here 
  342. is a recommended EVENT.SYS sequence: 
  343.  
  344.      1. cd \pcb
  345.      2. calls main\daycal gen\blt3 zzAzNBCDEFGHIJKLM 2
  346.      3. type main\daycal >>main\caller
  347.      4. del main\daycal
  348.  
  349. Use PCBSETUP to change the caller log filename from the usual 
  350. 'caller' to 'daycal' - this will be your "daily caller log".   
  351.  
  352. Line 2 runs the caller log report on the daily log and generates 
  353. BLT3.  Line 3 adds the daily caller log to the end of the 
  354. "historical" caller log.  Line 4 deletes the daily log (pcboard 
  355. will make a new one for you).   
  356.  
  357. If you are short on disk space, you don't even need to keep the 
  358. 'main\caller' - just delete it.  The information in CALLS.SAV will 
  359. be enough to generate the full caller log report. 
  360.  
  361. If for some reason you want to start over with a fresh log, just 
  362. delete 'calls.sav' and calls.exe will create a new one for you.   
  363.  
  364. If you don't want to take advantage of this 'daily caller log' 
  365. feature, just add the line 
  366.    del calls.sav
  367. before the 'calls \pcb\main ...' line in your event.sys - without 
  368. the .sav file, it will act just like it used to. 
  369.  
  370. Note: if you run CALLS twice on the same caller log, the 
  371. information will be added to CALLS.SAV twice!  So, either make a 
  372. backup copy of CALLS.SAV, or always delete daycal when you run 
  373. calls. 
  374.  
  375. Version 12s11 16-Jan-88 S.H.Smith
  376. -----------------------------------------------------------------------
  377.  
  378. Moved security related statistics to a new report (code 'N'). Added 
  379. a fourth parameter to specify the minimum number of downloads 
  380. needed to include a file in the files-downloaded report. 
  381.  
  382. Version 12s10 31-Dec-87 S.H.Smith
  383. -----------------------------------------------------------------------
  384.  
  385. Sorted entries in system statistics report.  Added reporting of 
  386. Archive test runs, archive extract runs and re-arc runs. 
  387.  
  388. Version 12s9 27-Dec-87 S.H.Smith
  389. -----------------------------------------------------------------------
  390.  
  391. Added a third command-line parameter to specify the reports to 
  392. generate. This lists the specific report sections to produce and 
  393. the order in which they will appear.   
  394.  
  395. If, for example, you wanted to produce only the hourly usage (D), 
  396. bulletins read (F), and system statistics (A) reports (in that 
  397. order), the command line would be: 
  398.    calls \pcb\main\caller \pcb\gen\blt3 DFA
  399.  
  400. -----------------------------------------------------------------------
  401.  
  402. Version 12s7 21-Dec-87
  403. Version 12s6 29-Nov-87
  404. Version 12s5 20-Nov-87
  405. Version 12s4 07-Nov-87
  406. Version 12s3 12-Oct-87
  407. Version 12s1 10-Oct-87
  408.  
  409.  
  410.  
  411.                       ORIGINAL DOCUMENTATION
  412.                       ======================
  413.  
  414.  
  415. Phoenix Arizona                                  Feb 23, 1987
  416.  
  417.      This documentation covers version 11.8 of CALLS118.COM, a 
  418. call analyzer for PCBoard 11.8. 
  419.      It was written in Turbo Pascal, and is in it's 7th update 
  420. with this version.  Previous versions had various names and 
  421. version numbers such as "pcbcalls", "calls5b" etc.  From now on, 
  422. it will carry the same version number as PCBoard.  If any 
  423. revisions are made or required, it will have a letter suffix. (ie 
  424. 117b). 
  425.      This version contains only minor mods to include changes made 
  426. in going from 11.6 to 11.7.  The Imodem and Gmodem protocols have 
  427. been added, some minor cleanup was done on the displays, and the 
  428. error file, BLT99.DOC has been eliminated as redundant and of not 
  429. much value. 
  430.  
  431. OPERATION
  432.  
  433.      This version works pretty much the same as all previous 
  434. versions with the exception that the error file "BLT99.DOC" has 
  435. been eliminated. 
  436.      The program is very easy to run, requiring only access to the 
  437. callers file.  This can be done in one of two ways: If you run it 
  438. from your 'MAIN' dir, you can just type CALLS118 and it will 
  439. default to an input file name of "CALLERS" and an called 
  440. "CALLFILE.DOC". 
  441.      It will also support command line parameters, so you can use 
  442. it in a batch file or in your "EVENT.SYS" file, as I do. The .COM 
  443. file should be in your \PCB dir, though this is not required.  
  444. Below is a sample of part of my .SYS file: 
  445.  
  446.   calls117 d:\pcb\main\callers e:\pcb\gen\blt10
  447.  
  448. Both parameters should be specified: the first one tells it where 
  449. to find the file (d:\pcb\main\callers) and the name of the callers 
  450. file.  The second tells it where to put the output file, in this 
  451. case I am sending it to Drive D with the name "BLT10". 
  452.  
  453. There are a couple of things that make for better operation: 
  454.   1.  Do not mix callers logs of pcboard 10.0 and 11.7.  I have
  455. heard of no problems mixing 11.6, 11.7 and 11.8.
  456.   2.  For proper operation, your clock and date MUST be correct; if 
  457. the programs finds that your log begins in 1987 and ends in 1980, 
  458. it will usually abort.  If not, the numbers will be totally wrong 
  459. in most cases. 
  460.   It is recommended, though not required, that you start a new 
  461. callers log if you are new to this program.  It is most accurate 
  462. when the log begins with "New callers log initiated "etc. 
  463.  
  464.      Please give it a try and let me know what you think of it, as 
  465. the only way I can put in needed changes is with feedback from the 
  466. users.  You can leave any comments at my board (Phoenix Techline) 
  467. at 602 936-3058 (1200-9600), 24 hours. 
  468.  
  469.      I have included the source code in this version so that it may 
  470. be customized if you desire.  If you make any major changes or 
  471. improvements, please upload them to my board at 602 936 3058. 
  472.  
  473.                           Warren Lauzon
  474.     
  475.